#pragma once

#include <windows.h>
#include <gl\gl.h>
#include <gl\glu.h>

class PixelbufferObject
{
public:
	PixelbufferObject(void);
	virtual ~PixelbufferObject(void);

	void Create(const GLint size);
	void Bind() const;
	GLvoid* const MapResetBuffer(void);

	static void UnmapBuffer(void);
	static void Disable(void);
private:
	PixelbufferObject(const PixelbufferObject&);

	GLuint _PBOObject;
	GLint _size;
};
